package com.cloud.server.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cloud.server.system.dto.QueryUserDTO;
import com.cloud.server.system.mapper.entity.SystemUser;
import com.cloud.server.system.vo.SystemUserVO;
import org.apache.ibatis.annotations.Param;

/**
 * 用户表 Mapper 接口
 *
 * @author zhangxun
 * @since 2020-08-24
 */
public interface UserMapper extends BaseMapper<SystemUser> {

    IPage<SystemUserVO> listUser(Page<SystemUserVO> page, @Param("map") QueryUserDTO queryUserDTO);
}
